home *** CD-ROM | disk | FTP | other *** search
- .R:E
- .W:96
- .H:...DML GEN UNIT Version 1.00...
- .H:...$$Day Mon D, YEAR$$ $$Z:MI A.M.$$ Page $$$...
- .H:...TABLE OF CONTENTS...
- .H:
- .F:
- .F:... Copyright (c) 1989, by DML Software Inc. ...
- .X:8
-
-
- DML SOFTWARE INC. TURBO PASCAL LIBRARY
-
-
- GENERAL PURPOSE SUBROUTINES
-
- These general purpose routines fill in many gaps left by other libraries.
- Please note that some of these routines are more hardware oriented than
- other groups of routines and may depend more on hardware compatiblity to
- function properly.
-
-
-
- Procedure Page
- --------- ----
-
- GENERAL ROUTINES - CHANGES HIGHLIGHTS (VERSION 1.00) 1
-
- 1) SYSTEM PROGRAMMING EXTENSIONS 2
-
- Abend - Terminate a Program. 2
- CallProcedure - Invoke a simple procedure indirectly. 3
- CallProcedureX - Invoke a complex procedure indirectly. 4
- LongAddr - Returns the full twenty bit address of any memory location. 5
- Same - Performs byte by byte comparison of two blocks of data. 6
-
- 2) FILE I/O AND PROTECTION 7
-
- ReadOnlyExist - Determine if a file exists. 7
- ReadOnlyGetAttr - Return the current access mode of a DOS file. 8
- ReadOnlySetAttr - Set the access mode of a DOS file. 9
- FileOpen - Open a DOS file. 10
- FileAssignAndOpen - Assign and Open a DOS file. 11
-
- 3) TEXT ENCRYPTION 12
-
- EnCrypt - Encrypt a Text String. 12
- Decrypt - Decrypt a Text String. 13
-
- 4) GENERAL PURPOSE VIDEO 14
-
- GenBeep - Sounds the PC speaker. 14
- ColorMonitorInstalled - Test if a color monitor is installed. 15
- Cursor - Turns the cursor on or off. 16
- CursorInsertSize - Changes to cursor to a fat line. 17
- CursorOverwriteSize - Changes the cursor to a normal line. 18
- ScrBackCursorColor - Return the background color of cursor. 19
- ScrForeCursorColor - Return the foreground color of cursor. 20
-
-
- 5) VIDEO MESSAGES 21
-
- Pause - Debugging aid whichs waits for a key to be pressed. 21
- Wait - Displays a flashing WAIT message in the lower right of screen. 22
- ScrErrMsg - Prints an error message on the 25th line. 23
- ScrStatMsg - Prints a status message on the 25th line. 24
- ScrYouAreSure - Asks user to verify operation. 25
- ScrYN - Asks user to verify operation 26
-
- 6) DISK AND MEMORY SIZES 27
-
- BytesOnDiskFree - Calculate number of bytes remaining on a disk drive. 27
- FreeDOSMem - Returns the amount of currently unused RAM memory. 28
- SizeOfMem - Returns the amount of RAM memory installed. 29
- StackAvail - Returns the amount of stack space remaining in bytes. 30
-
- 7) INSTRUCTION TIMING 31
-
- TimeElapsed - Returns the number of seconds elapsed since genesis. 31
- TimeTotal - Returns the value of a timing test as a formatted string. 32
-
- 8) GENERAL PURPOSE FILE 33
-
- Exist - Test if a file exists (R/W access). 33
- LinesInFile - Returns the number of lines in a text file. 34
- GetFileDateAndTimeString - Get file directory date and time. 35
- GetFileDateAndTimeLongInt - Get file directory date and time. 36
-
- 9) MATH 37
-
- Power - Raise a Real number to a Real exponent. 37
- Log - Return the base 10 log of a real number. 37
-
- 10) DOS AND ENVIRONMENT 38
-
- DOSVersionR - Returns the DOS version number. 38
- WhoAmI - Return the name of the currently executing program 39
- GetEnvString - Return the value of an environment variable. 40
-
- 11) VERSION CONTROL 41
-
- GetDMLVersion - Get individual module version number. 41
- GetDMLVersions - Get all module version numbers. 42
-
-